.ui-title {
  height: 34px;
  line-height: 34px;
  // font-family: PingFangSC-Medium, PingFang SC;
  font-weight: 700;
  &:before {
    position: relative;
    top: 2px;
    display: inline-block;
    content: "";
    width: 3px;
    height: 16px;
    margin-right: 10px;
    background-color: #1890ff;
    @include themify() {
      background-color: themed("title");
    }
  }
}
table.ui-table {
  table-layout: fixed;
  border-top: 1px solid $line;
  border-left: 1px solid $line;
}
.ui-table {
  > table {
    table-layout: fixed;

    border-top: 1px solid $line;
    border-left: 1px solid $line;
  }
  th {
    background-color: #e5e5e5;
  }
  th,
  td {
    border-bottom: 1px solid $line;
    border-right: 1px solid $line;
    padding: 10px;
  }
}
.el-form--inline .el-form-item {
  margin-bottom: 10px;
}
.el-form--inline .el-form-item {
  text-align: left;
}

.app-sidebar {
  background-image: url("~@/assets/imgs/side-bg.png");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% auto;
  // background-image: url('/static/imgs/side-bg.png') bottom right no-repeat ;
}
.app-header {
  background-image: url("~@/assets/imgs/header-bg.png");
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: auto 100%;
  // background-image: url('/static/imgs/side-bg.png') bottom right no-repeat ;
}

.top-status {
  display: inline-block;
  clear: both;
  font-size: 14px;
  position: relative;
  line-height: 18px;
  vertical-align: middle;
  span {
    // vertical-align: middle;
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #dcdcdc;
    vertical-align: middle;
    margin-top: -2px;
    border-radius: 50%;
    // margin-top: 2px;
    margin-right: 2px;
    margin-left: 5px;
  }
  .online {
    background-color: #30cbb0;
  }
  .offline {
    background-color: #f5cb5a;
  }
  .leave {
    background-color: #b1b1b1;
  }
  .master-line {
    width: 24px;
    height: 4px;
    vertical-align: middle;
    background: rgba(47, 147, 255, 0.5);
    border-radius: 2px 2px 0px 0px;
  }
  .vice-line {
    width: 24px;
    height: 4px;
    vertical-align: middle;
    background: #fcda84;
    border-radius: 2px 2px 0px 0px;
  }
}

.el-steps--simple .el-step.is-last:after {
  display: block;
}
.task-status {
  span {
    background: #ccc;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
    width: 24px;
    height: 24px;
    font-size: 14px;
    text-indent: 5px;
    line-height: 24px;
    overflow: hidden;
    color: #fff;
  }
  @each $colorlist, $color in (UNASSIGNED, $UNASSIGNED), (ASSIGNED, $ASSIGNED),
    (WITNESS_UN_REVIEWED, $WITNESS_UN_REVIEWED), (WITNESSING, $WITNESSING), (WITNESS_STOP, $WITNESS_STOP),
    (WITNESS_FINISHED, $WITNESS_FINISHED)
  {
    .#{"" + $colorlist} {
      background: $color;
    }
  }
}
.task-tag {
  span {
    border: 1px solid #000;
    display: inline-block;
    padding: 0 4px;
    border-radius: 2px;
    line-height: 20px;
  }
  @each $colorlist, $color in (UNASSIGNED, $UNASSIGNED), (ASSIGNED, $ASSIGNED),
    (WITNESS_UN_REVIEWED, $WITNESS_UN_REVIEWED), (WITNESSING, $WITNESSING), (WITNESS_STOP, $WITNESS_STOP),
    (WITNESS_FINISHED, $WITNESS_FINISHED)
  {
    .#{"" + $colorlist} {
      color: $color;
      background-color: rgba($color: $color, $alpha: 0.1);
      border-color: rgba($color: $color, $alpha: 0.3);
    }
  }
  // // "待分配",
  // .UNASSIGNED
  // //"待见证"
  // .ASSIGNED
  // //"待审核"
  // .WITNESS_UN_REVIEWED
  // //"见证中"
  // .WITNESSING
  // //"暂停中"
  // .WITNESS_STOP
  // //"已完成"
  // .WITNESS_FINISHED
}

.format-time {
  div {
    display: inline-block;
    margin-right: 6px;
  }
}
.el-card__footer,
.el-card__header {
  padding: 8px 20px;
}
.line2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box; //作为弹性伸缩盒子模型显示。
  -webkit-box-orient: vertical; //设置伸缩盒子的子元素排列方式--从上到下垂直排列
  -webkit-line-clamp: 2; //显示的行
}
.line1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; //溢出不换行
}

.k-steps-simple {
  display: inline-block;

  .k-step {
    background: #ddd;
    display: inline-block;
    position: relative;

    .k-step_title {
      line-height: 22px;
      padding: 5px 10px;
    }
    .k-step_arrow {
      top: 0;
      right: -45px;
      position: absolute;
      width: 30px;
      height: 30px;
      &:before {
        // transform: rotate(-45deg) translateY(-4px);
        // transform-origin: 0 0;
        border: 20px solid #fff;
        border-left-color: #f00;
        width: 0px;
        height: 0px;
      }
      &:after {
        // transform: rotate(45deg) translateY(4px);
        // transform-origin: 100% 100%;
        border: 20px solid #fff;
        border-left-color: #ff0;
        right: 2px;
        width: 0px;
        height: 0px;
      }
    }
    .k-step_arrow:after,
    .k-step_arrow:before {
      content: "";
      display: inline-block;
      position: absolute;
      height: 0px;
      width: 0px;
      //   background: #c0c4cc;
    }
  }
}
// 修改搜索框按钮样式
.form-search {
  .el-input-group__append {
    button {
      color: #ffffff !important;
      width: 34px;
      height: 34px;
      padding: 9px 13px;
    }
  }
}
.el-dialog__body {
  overflow-x: hidden;
  max-height: 436px;
}
.login-warning-box {
  .el-icon-warning {
    top: 32%;
  }
}
